const getters = {
  sidebar: state => state.app.sidebar,
  language: state => state.app.language,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  refreshToken: state => state.user.refreshToken,
  // 用户头像
  avatar: state => state.user.avatar,
  // 用户昵称
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  status: state => state.user.status,
  // 角色
  roles: state => state.user.roles,
  // 用户ID
  userid: state => state.user.userid,
  // navArr: state => state.user.userid,
  // 用户组织机构ID
  orgId: state => state.user.orgId,
  rootOrgId: state => state.user.rootOrgId,
  selectOuinfoId: state => state.user.selectOuinfoId,
  selectOrgId: state => state.user.selectOrgId,
  selectRoleOrgId: state => state.user.selectRoleOrgId,
  // 用户LoginID
  userloginid: state => state.user.userloginid,
  setting: state => state.user.setting,
  permission_routers: state => state.permission.routers,
  menus: state => state.permission.menu,
  childrensMenu: state => state.permission.childrensMenu,
  addRouters: state => state.permission.addRouters,
  brokenPoint: state => state.brokenPoint,
  // 默认栏目
  activeMenuIndex: state => state.permission.activeMenuIndex,
  menuLoading: state => state.permission.menuLoading,
  // 分页相关
  page: state => state.common.page
}
export default getters
